package liangtWorkSpace.springTest.factory;

import liangtWorkSpace.springTest.impl.PersonFactory;

/**
 * @author liangt
 * @ClassName: MyPersonFactory
 * @title: MyPersonFactory
 * @projectName liangtWorkSpace.springTest.factory
 * @description: TODO
 * @date 2020/10/13 13:27
 */
public class MyPersonFactory {

    public MyPersonFactory() {
        System.out.println("实例化工厂");
    }

    public PersonFactory createPerson(){
        return new PersonFactory();
    }
}
